renderborder: Remove unused function
authorTimm Bäder <mail@baedert.org>
Mon, 20 Aug 2018 05:32:07 +0000 (07:32 +0200)
committerTimm Bäder <mail@baedert.org>
Sat, 25 Aug 2018 06:06:03 +0000 (08:06 +0200)
gtk/gtkrenderborder.c
gtk/gtkrenderborderprivate.h

index 3426ebfca361171420339e4ea0892b0d024cdf9a..f0edb8cb0c753891ad1fa721b7ec2ec4b36b7263 100644 (file)
@@ -725,12 +725,6 @@ gtk_css_style_snapshot_border (GtkCssStyle *style,
     }
 }
 
-gboolean
-gtk_css_style_render_has_outline (GtkCssStyle *style)
-{
-  return _gtk_css_number_value_get (gtk_css_style_get_value (style, GTK_CSS_PROPERTY_OUTLINE_WIDTH), 100) > 0;
-}
-
 static void
 compute_outline_rect (GtkCssStyle       *style,
                       gdouble            x,
index b8b95a2174ba6a004525e5e0fc56ea9e5b6c7613..60cb7a016e4a4a6b9de1b7f17852a5a6775cf609 100644 (file)
@@ -34,7 +34,6 @@ void            gtk_css_style_snapshot_border           (GtkCssStyle
                                                          gdouble                 width,
                                                          gdouble                 height);
 
-gboolean        gtk_css_style_render_has_outline        (GtkCssStyle            *style);
 void            gtk_css_style_snapshot_outline          (GtkCssStyle            *style,
                                                          GtkSnapshot            *snapshot,
                                                          gdouble                 width,